package dao;

import entity.user;
import java.util.*;
public interface userMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(user row);

    int insertSelective(user row);

    user selectByPrimaryKey(Integer userId);

    List<user> selectUserByRole(Integer role);
    List<user> selectAllUser();

    List<user> selectUserBySelective(user user);

    int updateByPrimaryKeySelective(user row);

    int updateByPrimaryKey(user row);
}